<?php
    class User extends ActiveRecord {
		public static $fields = array(
            'id' => 'primary_key',
            'user_name' => 'string[1..40]',
            'email' => 'string[1..40]',
            'password' => 'string[1..20]',
            'created_on' => 'datetime',
            'updated_on' => 'datetime'
        );
	}
?>